#ifndef _SYSTEMIO_H_
#define _SYSTEMIO_H_

//virtual_dev

typedef struct st_init_conf
{
    char ip[64];				//∑˛ŒÒ∂Àip
    int port;					//∑˛ŒÒ∂Àø⁄
    int timeout;                //≥¨ ± ±º‰
    int loglevel;               //»’÷æº∂± 1.¥ÌŒÛ»’÷æ 2.µ˜ ‘+¥ÌŒÛ»’÷æ  3.πÿ±’»’÷æ
    int ssltype;				//Õ®–≈¿‡–Õ
    
    char CA_cert[256];			//CA÷§ ÈŒƒº˛¬∑æ∂
    char client_enc_cert_key[256];		//∑˛ŒÒ∂À÷§ È¬∑æ∂
    char client_sig_cert_key[256];		//∑˛ŒÒ∂ÀÀΩ‘ø¬∑æ∂
    
}INITCONF;



#ifdef __cplusplus
extern "C" {
#endif
    
    int SystemIO(unsigned char* pBuff, unsigned int* nLen);
    int LoadVMKey(char *path, char *devID);
    
#ifdef __cplusplus
}
#endif


#endif
